package com.atguigu.gulimall.product.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author XB on 2021/11/22 0022.
 * @version 3.0
 */
@FeignClient("gulimall-ware")
public interface WareFeginService {

	@PostMapping("/ware/waresku/hasstock")
	public R getSkusHasStock(@RequestBody List<Long> skuIds);
}
